#include "time_sun.h"

/*************获取ms时间 begin*****************/
#include <stdio.h>


#define DEBUG_GETSYSTIME 0

void getSysTime(SYSTEMTIME *time)
{
    if(time == NULL)
        return ;

    GetLocalTime(time);
#if  DEBUG_GETSYSTIME
    printf( "%4d/%02d/%02d %02d:%02d:%02d.%03d:",time->wYear,time->wMonth,time->wDay,
            time->wHour,time->wMinute, time->wSecond,time->wMilliseconds);
#endif
    return ;
}
/*************获取ms时间 end*****************/
